Package com.cisco.pt.ipc.ui
Interface DeviceDialog
- All Superinterfaces:
IPCObject
- All Known Implementing Classes:
DeviceDialogImpl
Information provided by the PKI file:
\class DeviceDialog
\brief DeviceDialog are the collection of dialogs used to edit the devices.
\remark To manipulate the device configuration, use the Device object.
\example appWindow().getDialogManager().getDialog("Router0")
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddCustomDesktopApp(String name, String description, String iconPath, String customInterface) Information provided by the PKI file:voiddisableCLIImportExport(boolean bDisable) Information provided by the PKI file:booleanInformation provided by the PKI file:voidInformation provided by the PKI file:voidsetDisabled(boolean bDisabled) Information provided by the PKI file:booleansetTabVisible(String tabName, boolean visible) Information provided by the PKI file:voidsetVisible(boolean bVisible) Information provided by the PKI file:voidsetWidgetDisable(String name, boolean bDisabled) Information provided by the PKI file:voidsetWidgetVisible(String name, boolean bVisible) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Method Details
-
setVisible
void setVisible(boolean bVisible) Information provided by the PKI file:
\brief Shows or hides this device dialog widget from view. \param bVisible, true to show this device dialog, false to hide it.- Parameters:
bVisible- Takes in a parameter of bVisible
-
setWidgetVisible
Information provided by the PKI file:
\brief Shows or hides the specified child widget. \param name where name can be one of the following: IPConfigBtn, IPConfigLbl, DialupBtn, DialupLbl, TerminalBtn, TerminalLbl, CommandPromptBtn, CommandPromptLbl, WebBrowserBtn, WebBrowserLbl, PCWirelessBtn, PCWirelessLbl, VPNBtn, VPNLbl, TrafficGeneratorBtn, TrafficGeneratorLbl, MIBBroswerBtn, MIBBrowserLbl, IPCommunicatorBtn, IPCommunicatorLbl, EmailBtn, EmailLbl, PPPoEDialerBtn, PPPoEDialerLbl, TextEditorBtn, TextEditorLbl, FirewallBtn, FirewallLbl, IPv6FirewallBtn, IPv6FirewallLbl, AAAAccountingBtn, AAAAccountingLbl, NetflowCollectorBtn, NetflowCollectorLbl, IoXSdkBtn, IoXSdkLbl, TftpLbl, TftpBtn, SshClientBtn, SshClientLbl, BluetoothBtn, BluetoothLbl, IoT Monitor_btn, IoT Monitor_lbl, IoT IDE_btn, IoT IDE_lbl, User Apps Manager_btn, User Apps Manager_lbl \param bVisible, true to show the child widget, false to hide it.- Parameters:
name- Takes in a parameter of namebVisible- Takes in a parameter of bVisible
-
setDisabled
void setDisabled(boolean bDisabled) Information provided by the PKI file:
\brief Enables or disables input events to this device dialog widget. \param bDisabled, true to disable this device dialog, false to enable it.- Parameters:
bDisabled- Takes in a parameter of bDisabled
-
setWidgetDisable
Information provided by the PKI file:
\brief Enables or disables the specified child widget. \param name where name can be one of the following: IPConfigBtn, IPConfigLbl, DialupBtn, DialupLbl, TerminalBtn, TerminalLbl, CommandPromptBtn, CommandPromptLbl, WebBrowserBtn, WebBrowserLbl, PCWirelessBtn, PCWirelessLbl, VPNBtn, VPNLbl, TrafficGeneratorBtn, TrafficGeneratorLbl, MIBBroswerBtn, MIBBrowserLbl, IPCommunicatorBtn, IPCommunicatorLbl, EmailBtn, EmailLbl, PPPoEDialerBtn, PPPoEDialerLbl, TextEditorBtn, TextEditorLbl, FirewallBtn, FirewallLbl, IPv6FirewallBtn, IPv6FirewallLbl, AAAAccountingBtn, AAAAccountingLbl, NetflowCollectorBtn, NetflowCollectorLbl, IoXSdkBtn, IoXSdkLbl, TftpLbl, TftpBtn, SshClientBtn, SshClientLbl, BluetoothBtn, BluetoothLbl, IoT Monitor_btn, IoT Monitor_lbl, IoT IDE_btn, IoT IDE_lbl, User Apps Manager_btn, User Apps Manager_lbl \param bDisabled, true to disable the child widget, false to enable it.- Parameters:
name- Takes in a parameter of namebDisabled- Takes in a parameter of bDisabled
-
disableCLIImportExport
void disableCLIImportExport(boolean bDisable) Information provided by the PKI file:
\brief Enable or disable copying and pasting from the CLI. \param bDisable, true to disable copying and pasting from the CLI, false to enable it.- Parameters:
bDisable- Takes in a parameter of bDisable
-
reloadCustomHtmlTab
void reloadCustomHtmlTab()Information provided by the PKI file:
\brief Reload custom html tab -
hasDesktop
boolean hasDesktop()Information provided by the PKI file:
\brief Check if the device dialog has desktop tab \return bool, true if it does and false if it does not- Returns:
- boolean Returns a boolean
-
setTabVisible
Information provided by the PKI file:
\brief Shows or hides a tab in the device dialog. \param tabName, the name of the tab (case-insensitive) e.g. "physical", "config", "cli", etc. \param visible, true to to show the tab, false to hide it. \return bool, true if the tab was successfully shown or hidden, false otherwise.- Parameters:
tabName- Takes in a parameter of tabNamevisible- Takes in a parameter of visible- Returns:
- boolean Returns a boolean
-
addCustomDesktopApp
boolean addCustomDesktopApp(String name, String description, String iconPath, String customInterface) Information provided by the PKI file:
\brief Add custom desktop app \param name, application name \param description, desktop app description \param iconPath, icon path \param customInterface, custom Interface name- Parameters:
name- Takes in a parameter of namedescription- Takes in a parameter of descriptioniconPath- Takes in a parameter of iconPathcustomInterface- Takes in a parameter of customInterface- Returns:
- boolean Returns a boolean
-